package org.big.kafkafinancesimulator.model;

import lombok.Data;

@Data
public class UserAccount {
    private String userId;
    private double balance; // 现金余额
    public UserAccount(String userId, double initialBalance) {
        this.userId = userId;
        this.balance = initialBalance;
    }
}
// 持仓信息已经在上面的TradingProcessorService中的userPortfolioMap里管理了。